package com.example.studentstatusmanagement.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class SysUserExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public SysUserExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNull() {
            addCriterion("user_name is null");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNotNull() {
            addCriterion("user_name is not null");
            return (Criteria) this;
        }

        public Criteria andUserNameEqualTo(String value) {
            addCriterion("user_name =", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotEqualTo(String value) {
            addCriterion("user_name <>", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThan(String value) {
            addCriterion("user_name >", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("user_name >=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThan(String value) {
            addCriterion("user_name <", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThanOrEqualTo(String value) {
            addCriterion("user_name <=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLike(String value) {
            addCriterion("user_name like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotLike(String value) {
            addCriterion("user_name not like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameIn(List<String> values) {
            addCriterion("user_name in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotIn(List<String> values) {
            addCriterion("user_name not in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameBetween(String value1, String value2) {
            addCriterion("user_name between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotBetween(String value1, String value2) {
            addCriterion("user_name not between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNumberIsNull() {
            addCriterion("user_number is null");
            return (Criteria) this;
        }

        public Criteria andUserNumberIsNotNull() {
            addCriterion("user_number is not null");
            return (Criteria) this;
        }

        public Criteria andUserNumberEqualTo(String value) {
            addCriterion("user_number =", value, "userNumber");
            return (Criteria) this;
        }

        public Criteria andUserNumberNotEqualTo(String value) {
            addCriterion("user_number <>", value, "userNumber");
            return (Criteria) this;
        }

        public Criteria andUserNumberGreaterThan(String value) {
            addCriterion("user_number >", value, "userNumber");
            return (Criteria) this;
        }

        public Criteria andUserNumberGreaterThanOrEqualTo(String value) {
            addCriterion("user_number >=", value, "userNumber");
            return (Criteria) this;
        }

        public Criteria andUserNumberLessThan(String value) {
            addCriterion("user_number <", value, "userNumber");
            return (Criteria) this;
        }

        public Criteria andUserNumberLessThanOrEqualTo(String value) {
            addCriterion("user_number <=", value, "userNumber");
            return (Criteria) this;
        }

        public Criteria andUserNumberLike(String value) {
            addCriterion("user_number like", value, "userNumber");
            return (Criteria) this;
        }

        public Criteria andUserNumberNotLike(String value) {
            addCriterion("user_number not like", value, "userNumber");
            return (Criteria) this;
        }

        public Criteria andUserNumberIn(List<String> values) {
            addCriterion("user_number in", values, "userNumber");
            return (Criteria) this;
        }

        public Criteria andUserNumberNotIn(List<String> values) {
            addCriterion("user_number not in", values, "userNumber");
            return (Criteria) this;
        }

        public Criteria andUserNumberBetween(String value1, String value2) {
            addCriterion("user_number between", value1, value2, "userNumber");
            return (Criteria) this;
        }

        public Criteria andUserNumberNotBetween(String value1, String value2) {
            addCriterion("user_number not between", value1, value2, "userNumber");
            return (Criteria) this;
        }

        public Criteria andUserPasswordIsNull() {
            addCriterion("user_password is null");
            return (Criteria) this;
        }

        public Criteria andUserPasswordIsNotNull() {
            addCriterion("user_password is not null");
            return (Criteria) this;
        }

        public Criteria andUserPasswordEqualTo(String value) {
            addCriterion("user_password =", value, "userPassword");
            return (Criteria) this;
        }

        public Criteria andUserPasswordNotEqualTo(String value) {
            addCriterion("user_password <>", value, "userPassword");
            return (Criteria) this;
        }

        public Criteria andUserPasswordGreaterThan(String value) {
            addCriterion("user_password >", value, "userPassword");
            return (Criteria) this;
        }

        public Criteria andUserPasswordGreaterThanOrEqualTo(String value) {
            addCriterion("user_password >=", value, "userPassword");
            return (Criteria) this;
        }

        public Criteria andUserPasswordLessThan(String value) {
            addCriterion("user_password <", value, "userPassword");
            return (Criteria) this;
        }

        public Criteria andUserPasswordLessThanOrEqualTo(String value) {
            addCriterion("user_password <=", value, "userPassword");
            return (Criteria) this;
        }

        public Criteria andUserPasswordLike(String value) {
            addCriterion("user_password like", value, "userPassword");
            return (Criteria) this;
        }

        public Criteria andUserPasswordNotLike(String value) {
            addCriterion("user_password not like", value, "userPassword");
            return (Criteria) this;
        }

        public Criteria andUserPasswordIn(List<String> values) {
            addCriterion("user_password in", values, "userPassword");
            return (Criteria) this;
        }

        public Criteria andUserPasswordNotIn(List<String> values) {
            addCriterion("user_password not in", values, "userPassword");
            return (Criteria) this;
        }

        public Criteria andUserPasswordBetween(String value1, String value2) {
            addCriterion("user_password between", value1, value2, "userPassword");
            return (Criteria) this;
        }

        public Criteria andUserPasswordNotBetween(String value1, String value2) {
            addCriterion("user_password not between", value1, value2, "userPassword");
            return (Criteria) this;
        }

        public Criteria andUserGtimeIsNull() {
            addCriterion("user_gtime is null");
            return (Criteria) this;
        }

        public Criteria andUserGtimeIsNotNull() {
            addCriterion("user_gtime is not null");
            return (Criteria) this;
        }

        public Criteria andUserGtimeEqualTo(Date value) {
            addCriterion("user_gtime =", value, "userGtime");
            return (Criteria) this;
        }

        public Criteria andUserGtimeNotEqualTo(Date value) {
            addCriterion("user_gtime <>", value, "userGtime");
            return (Criteria) this;
        }

        public Criteria andUserGtimeGreaterThan(Date value) {
            addCriterion("user_gtime >", value, "userGtime");
            return (Criteria) this;
        }

        public Criteria andUserGtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("user_gtime >=", value, "userGtime");
            return (Criteria) this;
        }

        public Criteria andUserGtimeLessThan(Date value) {
            addCriterion("user_gtime <", value, "userGtime");
            return (Criteria) this;
        }

        public Criteria andUserGtimeLessThanOrEqualTo(Date value) {
            addCriterion("user_gtime <=", value, "userGtime");
            return (Criteria) this;
        }

        public Criteria andUserGtimeIn(List<Date> values) {
            addCriterion("user_gtime in", values, "userGtime");
            return (Criteria) this;
        }

        public Criteria andUserGtimeNotIn(List<Date> values) {
            addCriterion("user_gtime not in", values, "userGtime");
            return (Criteria) this;
        }

        public Criteria andUserGtimeBetween(Date value1, Date value2) {
            addCriterion("user_gtime between", value1, value2, "userGtime");
            return (Criteria) this;
        }

        public Criteria andUserGtimeNotBetween(Date value1, Date value2) {
            addCriterion("user_gtime not between", value1, value2, "userGtime");
            return (Criteria) this;
        }

        public Criteria andUserCtimeIsNull() {
            addCriterion("user_ctime is null");
            return (Criteria) this;
        }

        public Criteria andUserCtimeIsNotNull() {
            addCriterion("user_ctime is not null");
            return (Criteria) this;
        }

        public Criteria andUserCtimeEqualTo(Date value) {
            addCriterion("user_ctime =", value, "userCtime");
            return (Criteria) this;
        }

        public Criteria andUserCtimeNotEqualTo(Date value) {
            addCriterion("user_ctime <>", value, "userCtime");
            return (Criteria) this;
        }

        public Criteria andUserCtimeGreaterThan(Date value) {
            addCriterion("user_ctime >", value, "userCtime");
            return (Criteria) this;
        }

        public Criteria andUserCtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("user_ctime >=", value, "userCtime");
            return (Criteria) this;
        }

        public Criteria andUserCtimeLessThan(Date value) {
            addCriterion("user_ctime <", value, "userCtime");
            return (Criteria) this;
        }

        public Criteria andUserCtimeLessThanOrEqualTo(Date value) {
            addCriterion("user_ctime <=", value, "userCtime");
            return (Criteria) this;
        }

        public Criteria andUserCtimeIn(List<Date> values) {
            addCriterion("user_ctime in", values, "userCtime");
            return (Criteria) this;
        }

        public Criteria andUserCtimeNotIn(List<Date> values) {
            addCriterion("user_ctime not in", values, "userCtime");
            return (Criteria) this;
        }

        public Criteria andUserCtimeBetween(Date value1, Date value2) {
            addCriterion("user_ctime between", value1, value2, "userCtime");
            return (Criteria) this;
        }

        public Criteria andUserCtimeNotBetween(Date value1, Date value2) {
            addCriterion("user_ctime not between", value1, value2, "userCtime");
            return (Criteria) this;
        }

        public Criteria andUserBorthdayIsNull() {
            addCriterion("user_borthday is null");
            return (Criteria) this;
        }

        public Criteria andUserBorthdayIsNotNull() {
            addCriterion("user_borthday is not null");
            return (Criteria) this;
        }

        public Criteria andUserBorthdayEqualTo(String value) {
            addCriterion("user_borthday =", value, "userBorthday");
            return (Criteria) this;
        }

        public Criteria andUserBorthdayNotEqualTo(String value) {
            addCriterion("user_borthday <>", value, "userBorthday");
            return (Criteria) this;
        }

        public Criteria andUserBorthdayGreaterThan(String value) {
            addCriterion("user_borthday >", value, "userBorthday");
            return (Criteria) this;
        }

        public Criteria andUserBorthdayGreaterThanOrEqualTo(String value) {
            addCriterion("user_borthday >=", value, "userBorthday");
            return (Criteria) this;
        }

        public Criteria andUserBorthdayLessThan(String value) {
            addCriterion("user_borthday <", value, "userBorthday");
            return (Criteria) this;
        }

        public Criteria andUserBorthdayLessThanOrEqualTo(String value) {
            addCriterion("user_borthday <=", value, "userBorthday");
            return (Criteria) this;
        }

        public Criteria andUserBorthdayLike(String value) {
            addCriterion("user_borthday like", value, "userBorthday");
            return (Criteria) this;
        }

        public Criteria andUserBorthdayNotLike(String value) {
            addCriterion("user_borthday not like", value, "userBorthday");
            return (Criteria) this;
        }

        public Criteria andUserBorthdayIn(List<String> values) {
            addCriterion("user_borthday in", values, "userBorthday");
            return (Criteria) this;
        }

        public Criteria andUserBorthdayNotIn(List<String> values) {
            addCriterion("user_borthday not in", values, "userBorthday");
            return (Criteria) this;
        }

        public Criteria andUserBorthdayBetween(String value1, String value2) {
            addCriterion("user_borthday between", value1, value2, "userBorthday");
            return (Criteria) this;
        }

        public Criteria andUserBorthdayNotBetween(String value1, String value2) {
            addCriterion("user_borthday not between", value1, value2, "userBorthday");
            return (Criteria) this;
        }

        public Criteria andUserIdcardIsNull() {
            addCriterion("user_idcard is null");
            return (Criteria) this;
        }

        public Criteria andUserIdcardIsNotNull() {
            addCriterion("user_idcard is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdcardEqualTo(String value) {
            addCriterion("user_idcard =", value, "userIdcard");
            return (Criteria) this;
        }

        public Criteria andUserIdcardNotEqualTo(String value) {
            addCriterion("user_idcard <>", value, "userIdcard");
            return (Criteria) this;
        }

        public Criteria andUserIdcardGreaterThan(String value) {
            addCriterion("user_idcard >", value, "userIdcard");
            return (Criteria) this;
        }

        public Criteria andUserIdcardGreaterThanOrEqualTo(String value) {
            addCriterion("user_idcard >=", value, "userIdcard");
            return (Criteria) this;
        }

        public Criteria andUserIdcardLessThan(String value) {
            addCriterion("user_idcard <", value, "userIdcard");
            return (Criteria) this;
        }

        public Criteria andUserIdcardLessThanOrEqualTo(String value) {
            addCriterion("user_idcard <=", value, "userIdcard");
            return (Criteria) this;
        }

        public Criteria andUserIdcardLike(String value) {
            addCriterion("user_idcard like", value, "userIdcard");
            return (Criteria) this;
        }

        public Criteria andUserIdcardNotLike(String value) {
            addCriterion("user_idcard not like", value, "userIdcard");
            return (Criteria) this;
        }

        public Criteria andUserIdcardIn(List<String> values) {
            addCriterion("user_idcard in", values, "userIdcard");
            return (Criteria) this;
        }

        public Criteria andUserIdcardNotIn(List<String> values) {
            addCriterion("user_idcard not in", values, "userIdcard");
            return (Criteria) this;
        }

        public Criteria andUserIdcardBetween(String value1, String value2) {
            addCriterion("user_idcard between", value1, value2, "userIdcard");
            return (Criteria) this;
        }

        public Criteria andUserIdcardNotBetween(String value1, String value2) {
            addCriterion("user_idcard not between", value1, value2, "userIdcard");
            return (Criteria) this;
        }

        public Criteria andUserPhoneIsNull() {
            addCriterion("user_phone is null");
            return (Criteria) this;
        }

        public Criteria andUserPhoneIsNotNull() {
            addCriterion("user_phone is not null");
            return (Criteria) this;
        }

        public Criteria andUserPhoneEqualTo(String value) {
            addCriterion("user_phone =", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNotEqualTo(String value) {
            addCriterion("user_phone <>", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneGreaterThan(String value) {
            addCriterion("user_phone >", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("user_phone >=", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneLessThan(String value) {
            addCriterion("user_phone <", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneLessThanOrEqualTo(String value) {
            addCriterion("user_phone <=", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneLike(String value) {
            addCriterion("user_phone like", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNotLike(String value) {
            addCriterion("user_phone not like", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneIn(List<String> values) {
            addCriterion("user_phone in", values, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNotIn(List<String> values) {
            addCriterion("user_phone not in", values, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneBetween(String value1, String value2) {
            addCriterion("user_phone between", value1, value2, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNotBetween(String value1, String value2) {
            addCriterion("user_phone not between", value1, value2, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserRoleidIsNull() {
            addCriterion("user_roleid is null");
            return (Criteria) this;
        }

        public Criteria andUserRoleidIsNotNull() {
            addCriterion("user_roleid is not null");
            return (Criteria) this;
        }

        public Criteria andUserRoleidEqualTo(Integer value) {
            addCriterion("user_roleid =", value, "userRoleid");
            return (Criteria) this;
        }

        public Criteria andUserRoleidNotEqualTo(Integer value) {
            addCriterion("user_roleid <>", value, "userRoleid");
            return (Criteria) this;
        }

        public Criteria andUserRoleidGreaterThan(Integer value) {
            addCriterion("user_roleid >", value, "userRoleid");
            return (Criteria) this;
        }

        public Criteria andUserRoleidGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_roleid >=", value, "userRoleid");
            return (Criteria) this;
        }

        public Criteria andUserRoleidLessThan(Integer value) {
            addCriterion("user_roleid <", value, "userRoleid");
            return (Criteria) this;
        }

        public Criteria andUserRoleidLessThanOrEqualTo(Integer value) {
            addCriterion("user_roleid <=", value, "userRoleid");
            return (Criteria) this;
        }

        public Criteria andUserRoleidIn(List<Integer> values) {
            addCriterion("user_roleid in", values, "userRoleid");
            return (Criteria) this;
        }

        public Criteria andUserRoleidNotIn(List<Integer> values) {
            addCriterion("user_roleid not in", values, "userRoleid");
            return (Criteria) this;
        }

        public Criteria andUserRoleidBetween(Integer value1, Integer value2) {
            addCriterion("user_roleid between", value1, value2, "userRoleid");
            return (Criteria) this;
        }

        public Criteria andUserRoleidNotBetween(Integer value1, Integer value2) {
            addCriterion("user_roleid not between", value1, value2, "userRoleid");
            return (Criteria) this;
        }

        public Criteria andUserDormidIsNull() {
            addCriterion("user_dormid is null");
            return (Criteria) this;
        }

        public Criteria andUserDormidIsNotNull() {
            addCriterion("user_dormid is not null");
            return (Criteria) this;
        }

        public Criteria andUserDormidEqualTo(Integer value) {
            addCriterion("user_dormid =", value, "userDormid");
            return (Criteria) this;
        }

        public Criteria andUserDormidNotEqualTo(Integer value) {
            addCriterion("user_dormid <>", value, "userDormid");
            return (Criteria) this;
        }

        public Criteria andUserDormidGreaterThan(Integer value) {
            addCriterion("user_dormid >", value, "userDormid");
            return (Criteria) this;
        }

        public Criteria andUserDormidGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_dormid >=", value, "userDormid");
            return (Criteria) this;
        }

        public Criteria andUserDormidLessThan(Integer value) {
            addCriterion("user_dormid <", value, "userDormid");
            return (Criteria) this;
        }

        public Criteria andUserDormidLessThanOrEqualTo(Integer value) {
            addCriterion("user_dormid <=", value, "userDormid");
            return (Criteria) this;
        }

        public Criteria andUserDormidIn(List<Integer> values) {
            addCriterion("user_dormid in", values, "userDormid");
            return (Criteria) this;
        }

        public Criteria andUserDormidNotIn(List<Integer> values) {
            addCriterion("user_dormid not in", values, "userDormid");
            return (Criteria) this;
        }

        public Criteria andUserDormidBetween(Integer value1, Integer value2) {
            addCriterion("user_dormid between", value1, value2, "userDormid");
            return (Criteria) this;
        }

        public Criteria andUserDormidNotBetween(Integer value1, Integer value2) {
            addCriterion("user_dormid not between", value1, value2, "userDormid");
            return (Criteria) this;
        }

        public Criteria andUserMajoridIsNull() {
            addCriterion("user_majorid is null");
            return (Criteria) this;
        }

        public Criteria andUserMajoridIsNotNull() {
            addCriterion("user_majorid is not null");
            return (Criteria) this;
        }

        public Criteria andUserMajoridEqualTo(Integer value) {
            addCriterion("user_majorid =", value, "userMajorid");
            return (Criteria) this;
        }

        public Criteria andUserMajoridNotEqualTo(Integer value) {
            addCriterion("user_majorid <>", value, "userMajorid");
            return (Criteria) this;
        }

        public Criteria andUserMajoridGreaterThan(Integer value) {
            addCriterion("user_majorid >", value, "userMajorid");
            return (Criteria) this;
        }

        public Criteria andUserMajoridGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_majorid >=", value, "userMajorid");
            return (Criteria) this;
        }

        public Criteria andUserMajoridLessThan(Integer value) {
            addCriterion("user_majorid <", value, "userMajorid");
            return (Criteria) this;
        }

        public Criteria andUserMajoridLessThanOrEqualTo(Integer value) {
            addCriterion("user_majorid <=", value, "userMajorid");
            return (Criteria) this;
        }

        public Criteria andUserMajoridIn(List<Integer> values) {
            addCriterion("user_majorid in", values, "userMajorid");
            return (Criteria) this;
        }

        public Criteria andUserMajoridNotIn(List<Integer> values) {
            addCriterion("user_majorid not in", values, "userMajorid");
            return (Criteria) this;
        }

        public Criteria andUserMajoridBetween(Integer value1, Integer value2) {
            addCriterion("user_majorid between", value1, value2, "userMajorid");
            return (Criteria) this;
        }

        public Criteria andUserMajoridNotBetween(Integer value1, Integer value2) {
            addCriterion("user_majorid not between", value1, value2, "userMajorid");
            return (Criteria) this;
        }

        public Criteria andUserClassidIsNull() {
            addCriterion("user_classid is null");
            return (Criteria) this;
        }

        public Criteria andUserClassidIsNotNull() {
            addCriterion("user_classid is not null");
            return (Criteria) this;
        }

        public Criteria andUserClassidEqualTo(Integer value) {
            addCriterion("user_classid =", value, "userClassid");
            return (Criteria) this;
        }

        public Criteria andUserClassidNotEqualTo(Integer value) {
            addCriterion("user_classid <>", value, "userClassid");
            return (Criteria) this;
        }

        public Criteria andUserClassidGreaterThan(Integer value) {
            addCriterion("user_classid >", value, "userClassid");
            return (Criteria) this;
        }

        public Criteria andUserClassidGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_classid >=", value, "userClassid");
            return (Criteria) this;
        }

        public Criteria andUserClassidLessThan(Integer value) {
            addCriterion("user_classid <", value, "userClassid");
            return (Criteria) this;
        }

        public Criteria andUserClassidLessThanOrEqualTo(Integer value) {
            addCriterion("user_classid <=", value, "userClassid");
            return (Criteria) this;
        }

        public Criteria andUserClassidIn(List<Integer> values) {
            addCriterion("user_classid in", values, "userClassid");
            return (Criteria) this;
        }

        public Criteria andUserClassidNotIn(List<Integer> values) {
            addCriterion("user_classid not in", values, "userClassid");
            return (Criteria) this;
        }

        public Criteria andUserClassidBetween(Integer value1, Integer value2) {
            addCriterion("user_classid between", value1, value2, "userClassid");
            return (Criteria) this;
        }

        public Criteria andUserClassidNotBetween(Integer value1, Integer value2) {
            addCriterion("user_classid not between", value1, value2, "userClassid");
            return (Criteria) this;
        }

        public Criteria andUserIsdelIsNull() {
            addCriterion("user_isdel is null");
            return (Criteria) this;
        }

        public Criteria andUserIsdelIsNotNull() {
            addCriterion("user_isdel is not null");
            return (Criteria) this;
        }

        public Criteria andUserIsdelEqualTo(String value) {
            addCriterion("user_isdel =", value, "userIsdel");
            return (Criteria) this;
        }

        public Criteria andUserIsdelNotEqualTo(String value) {
            addCriterion("user_isdel <>", value, "userIsdel");
            return (Criteria) this;
        }

        public Criteria andUserIsdelGreaterThan(String value) {
            addCriterion("user_isdel >", value, "userIsdel");
            return (Criteria) this;
        }

        public Criteria andUserIsdelGreaterThanOrEqualTo(String value) {
            addCriterion("user_isdel >=", value, "userIsdel");
            return (Criteria) this;
        }

        public Criteria andUserIsdelLessThan(String value) {
            addCriterion("user_isdel <", value, "userIsdel");
            return (Criteria) this;
        }

        public Criteria andUserIsdelLessThanOrEqualTo(String value) {
            addCriterion("user_isdel <=", value, "userIsdel");
            return (Criteria) this;
        }

        public Criteria andUserIsdelLike(String value) {
            addCriterion("user_isdel like", value, "userIsdel");
            return (Criteria) this;
        }

        public Criteria andUserIsdelNotLike(String value) {
            addCriterion("user_isdel not like", value, "userIsdel");
            return (Criteria) this;
        }

        public Criteria andUserIsdelIn(List<String> values) {
            addCriterion("user_isdel in", values, "userIsdel");
            return (Criteria) this;
        }

        public Criteria andUserIsdelNotIn(List<String> values) {
            addCriterion("user_isdel not in", values, "userIsdel");
            return (Criteria) this;
        }

        public Criteria andUserIsdelBetween(String value1, String value2) {
            addCriterion("user_isdel between", value1, value2, "userIsdel");
            return (Criteria) this;
        }

        public Criteria andUserIsdelNotBetween(String value1, String value2) {
            addCriterion("user_isdel not between", value1, value2, "userIsdel");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}